package com.flag.liutao.common.enums;

public enum AuthEnum {

    ADMIN_LOIN("sys_power:login_admin","管理员登录"),
    API_LOGIN("sys_power:login_api","普通用户登录"),
    ADMIN_TOKEN("admin-login:","管理端保存token的key"),
    API_TOEKN("api-login:","客户端保存token的key"),
    LOGIN_CODE("login-code:","验证码保存的key"),
    TOKEN_NAME("Authorization","token的名称")
    ;

    private String value;
    private String desc;



    public String getValue() {
        return this.value;
    }

    public String getDesc() {
        return this.desc;
    }

    private AuthEnum(String value,String desc){
        this.value = value;
        this.desc = desc;
    }
}
